package com.cool.modules.finance.service.account;

import cn.hutool.json.JSONObject;
import com.cool.core.base.BaseService;
import com.cool.modules.finance.dto.FinanceTransferAccountRes;
import com.cool.modules.finance.dto.FinanceTransferAccountVo;
import com.cool.modules.finance.entity.account.FinanceTransferAccountEntity;

public interface FinanceTransferAccountService extends BaseService<FinanceTransferAccountEntity> {

    /**
     * 保存转账记录
     * @param financeTransferAccountVo
     */
    void saveRecord(FinanceTransferAccountVo financeTransferAccountVo);

    /**
     * 查询转账记录
     * @param requestParams
     * @return
     */
    FinanceTransferAccountRes getTransferAccountList(JSONObject requestParams);
}
